package jhlee42;

import java.util.Scanner;

public class ch04ex237_6 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
	
		performance_Reserve[] person = new performance_Reserve[100];
		
		// for 문
		int i = 1;
		person[i] = new performance_Reserve(); 
		
		
		
		System.out.println("예약<1>, 조회<2>, 취소<3>, 끝내기<4>");
		person[i].input = sc.nextInt();
		
		if (person[i].input == 1) { person[i].Reserve(); }
		else if (person[i].input == 1) { person[i].Search(); }
		else if (person[i].input == 1) { person[i].Cancer(); }
		else {person[i].Finish();}
		
		
	}// main
}// class



class performance_Reserve{
	
	
	static int num = 0;
	
	Scanner sc = new Scanner(System.in);
	
	int input;
	int reserve_Menue; // 예약=1,조회=2,취소=3,끝내기=4
	int seat_Type; // S=1,A=2,B=3
	int seat_Number; // 10 좌석
	String name;
	String seat_Alpha;
//	String seat_Alpha = "S";
	String result_Seat[] = new String[4];
	
	String seat_Array_Number[][] = new String[4][11]; // [seat_Type][S_seat_Number] // s=1,a=2,b=3

	
	
	
	
	public int Reserve(){
		seat_Type = 3; // 삭제
		
		//for (int m = 1; m <= seat_Type; ++m) {
			for (int k = 1; k < 11; ++k) {
				seat_Array_Number[seat_Type][k] = " - ";
				result_Seat[seat_Type] += seat_Array_Number[seat_Type][k];
			}
		//}
		
		if(seat_Type==1){seat_Alpha = "S";}
		else if(seat_Type==2){seat_Alpha = "A";}
		else if(seat_Type==3){seat_Alpha = "B";}
		
		System.out.print(seat_Alpha+" >> " +result_Seat[3]);
		System.out.println("\t");
		System.out.print("이름>>");
		name = sc.next();
		System.out.print("번호>>");
		seat_Number = sc.nextInt();
		
		
		
		
		return input;
		//seat_Array_Number[seat_Type][seat_Number];
		
	}
	public void Search(){
		
	}
	public void Cancer(){
		
	}
	public void Finish(){
		
	}
	
} // class performance_Reserve














